<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
    <base href="<%=basePath%>">
    <title>My JSP 'detailAds.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" rev="stylesheet" href="css/style.css" type="text/css" media="all" />
	<link href="css/css.css" rel="stylesheet" type="text/css" />
  </head>
  <body class="ContentBody">
	<div class="MainDiv">
	<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
	  <tr>
	      <th class="tablestyle_title" >评论内容详情</th>
	  </tr>
 	  <tr>
	    <td class="CPanel">
			<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
				<tr>
					<td width="100%">
						<fieldset style="height:100%;">
						<legend>评论信息</legend>  
						<form action="admin/deleteComment" method="post">
						<input type="hidden" name="commentId"  value="${commentInfo.commentId }">&nbsp;&nbsp;&nbsp;
							  <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
							  	   <tr>
									    <td align="right" height="30px" width="11%">评论时间:</td>
									    <td>
									    	${commentInfo.commDate }
									    </td>
								   </tr>
								   <tr>
									    <td align="right" height="50px" width="11%">作者:</td>
									    <td>
									    	${userName }
									    </td>
								   </tr>
								   <tr>
									    <td align="right" height="50px" width="11%">得分:</td>
									    <td>
									    	${commentInfo.score }
									    </td>
								   </tr>
								   <tr>
									    <td align="right" height="50px" width="11%">内容:</td>
									    <td style="border:1px;">
									    	${commentInfo.content }
									    </td>
								   </tr>
							  </table>
							  <div style="padding-left: 200px;">
							  <input type="submit" class="right-button02" value="删除">&nbsp;&nbsp;&nbsp;
							  <input class="right-button02" type="button" onclick="window.history.go(-1);" value="返回">
							  </div>
							  </form>
					  <br/>
						</fieldset>			
					</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
			</table>
		</td>
	  </tr>
	  </table>
</div>	
</body>
</html>
